# Contributor: sick <sick@rape.lol>
# Maintainer: sick <sick@rape.lol>
pkgname=colors
pkgver=0.3
pkgrel=0
pkgdesc="A simple program to extract colors from PNG files"
url="https://git.2f30.org/colors/"
arch="all"
license="ISC"
depends="libpng"
makedepends="$depends-dev"
subpackages="$pkgname-doc"
source="https://dl.2f30.org/releases/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make || return 1
}

package() {
	cd "$builddir"
	make PREFIX=/usr MANPREFIX=/usr/share/man \
	DESTDIR=$pkgdir install || return 1
}

sha512sums="7520bc9988b033dd602abce3d82c73b6dd3f0cc764225a1858f457c41ae5948655e20d2e44e1c07261279b62c49555a352914b4656f4cdf3dbbe6af0f33ecc44  colors-0.3.tar.gz"
